package com.amoyt.dao;


import com.amoyt.model.OrderAddressModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderAddressDao {
    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(OrderAddressModel record);

    int insertSelective(OrderAddressModel record);

    OrderAddressModel selectByPrimaryKey(@Param("id") Long id);

    OrderAddressModel selectByOrderId(@Param("orderId") Long orderId);

    int updateByPrimaryKeySelective(OrderAddressModel record);

    int updateByPrimaryKey(OrderAddressModel record);
}